#include <iostream>
#include "SsxList.h"
using namespace std;


void test1(SsxList<int> & mylist, int x)
{
    SsxList<int>::normal_itr it(mylist.list_end());
    it = mylist.insert_before(it,x);

  //  mylist.check(it);

}


void test3(SsxList<int> & mylist , int x)
{
    mylist.list_push_back(x);
}


void test2(SsxList<int> & mylist, int n)
{
    //SsxList<int>::normal_itr it= mylist.list_begin();
    for(int i = 0; i < n ; ++i)
    {

        mylist.list_push_back(i);
    }
    SsxList<int>::normal_itr it= mylist.list_begin();
    for(int i = 0; i < n ; ++i)
    {

        cout << "x= "  <<*it++ << endl;
    }


}



int main()
{
    //cout << "Hello world!" << endl;


    SsxList<int> myList;
    test2(myList, 100);


    return 0;
}
